<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" th:href="@{/framework/bootstrap4/css/bootstrap.css}">
    <script th:src="@{/framework/jquery3.4.1/jquery-3.4.1.min.js}"></script>
    <script th:src="@{/framework/bootstrap4/js/bootstrap.bundle.js}"></script>
    <script th:src="@{/framework/bootstrap4/js/bs-custom-file-input.js}"></script>

    <title>Title</title>
</head>
<body>

<header>

</header>
<div class="container-fluid p-0 m-0 ">
    <div class="row p-0 m-0">
        <aside class="col-2">

        </aside>
        <main class="col-10">
            <nav>
                <div class="nav nav-tabs" id="nav-tab" role="tablist">
                    <a th:class="|nav-item nav-link ${result.data.news==null?'active':null}|"
                       id="nav-home-tab"
                       data-toggle="tab"
                       href="#list">
                        列表
                    </a>
                    <a class="nav-item nav-link"
                       id="nav-profile-tab"
                       data-toggle="tab"
                       href="#add">
                        新增
                    </a>
                    <a th:class="|nav-item nav-link ${result.data.news!=null?'active':null}|"
                       id="nav-contact-tab"
                       data-toggle="tab"
                       href="#modify">
                        修改
                    </a>
                </div>
            </nav>
            <div class="tab-content" id="nav-tabContent">
                <!--列表-->
                <section th:replace="/admin/news/list::#list"></section>

                <!--新增-->
                <section th:replace="/admin/news/add::#add"></section>

                <!--修改-->
                <section th:replace="/admin/news/modify::#modify"></section>

            </div>
        </main>
    </div>
</div>
<footer>

</footer>

</body>
</html>